package com.spring.hed.factory.simple;

public class Test {
    public static void main(String[] args) {
        Operation operate = OperationFactory.createOperate("*");
        operate.setNumber1(12d);
        operate.setNumber2(6d);

        System.out.println(operate.getRes());
    }
}
